﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<%namespace YouHP.Model%>
<%namespace YouHP.Utility%>
<html>
<head>
	<link rel="stylesheet" type="text/css" href="/support/alpha/style.css" />
	<link rel="stylesheet" href="/support/common/jquery-ui.css" type="text/css" />
	<link rel="stylesheet" href="/support/common/impromptu.css" type="text/css" />
	<script type="text/javascript"" src="/support/common/common.js"></script>
	<script type="text/javascript"" src="/support/common/jquery.js"></script>
	<script type="text/javascript"" src="/support/common/impromptu.js"></script>
	<script type="text/javascript"" src="/support/common/ui.core.js"></script>
	<script type="text/javascript"" src="/support/common/ui.datepicker.js"></script>
	<script type="text/javascript"" src="/support/common/ui.datepicker-zh-CN.js"></script>
	<style>td { text-align:left } </style>
</head>
	    
	 
	        <div class="content">
	           
	            <p>{TrmData.Name} - {TrmData.GeneralName}</p>
	           
	        
	                <input type="hidden" name="trmid" value={TrmData.Id}>
	             <table>
	                <tbody>
	                <tr>
                        <td class="table-box-left">开始日期</td>
	                    <td >
	                         <input class="box-var validate-date" id="startdate" maxlength="10" size="10" name="startdate" style="vertical-align:middle;"/>
                                    <em class="helptext">格式：年-月-日(1970-03-08)</em>
	                    </td>
	                 </tr>
	                 <tr>
	                    <td class="table-box-left">剂量</td>
	                    <td >
	                        <input type="text" name="dosage"  class="inputstyle" > 
	                         &nbsp;&nbsp;{TrmData.Unit} 
	                         <input name="unit" type="hidden" value="" />
							      &nbsp;&nbsp;(正常范围介于{TrmData.MinValue}{TrmData.Unit}和{TrmData.MaxValue}{TrmData.Unit})之间                             
	                    </td>
	                 </tr>    
	                 <tr valign="top">
                         <td class="table-box-left">使用目的</td>
                         <td >
                           <select name="usepurpose" id="usepurpose">
                                <%csharp%>for(int i=0; i < Constants.TreatmentPurpose.Length; i ++) { <%/csharp%>
                                    <option value="{i}">{Constants.TreatmentPurpose[i]}</option>
                                <%csharp%> } <%/csharp%>
                            </select>
	                     </td>
    	            </tr>
                    <tr>
                        <td class="table-box-left">停止日期</td>
	                    <td >
	                        <input type="text" name="enddate" 
	                             value="" class="inputstyle" 
	                             onclick="WdatePicker({ isShowClear:false})"
	                         />
	                         <input class="box-var validate-date" id="enddate" maxlength="10" size="10" name="enddate" style="vertical-align:middle;"
                                         />
                                    <a class="no-hover" id="buttonDateEnd" title="Click on this to open the calendar, Use the arrow keys to move through dates" style="vertical-align:middle"
                                        href="#">
                                        <img class="icon-cal" alt="日期" src="/support/alpha/images/calendar/calendar-icon_calendar.png" />
                                    </a>
                                    <script type="text/javascript">
                                         Calendar.setup({inputField: 'enddate', ifFormat: '%Y-%m-%d', button: 'buttonDateEnd'}) 
                                    </script>
                                    <em class="helptext">格式：年-月-日(1970-03-08)</em>
	                    </td>
	                </tr>
                    <tr valign="top">
                         <td class="table-box-left">停止原因</td>
                         <td >
                           <select name="stopreason" id="stopreason">
                                <%csharp%>for(int i=0; i < Constants.TreatmentStopReason.Length; i ++) { <%/csharp%>
                                    <option value="{i}">{Constants.TreatmentStopReason[i]}</option>
                                <%csharp%> } <%/csharp%>
                            </select>
	                     </td>
    	            </tr>
    	            <tr>
    	                <td class="table-box-left"></td>
    	                <td > 
    	                    <span class="btn-min">
	                            <a href="#" onclick="CheckForm();" class="selectall">提交</a>
                            </span>
                        </td>
    	            </tr>   
	                </tbody>
	                </table>             
	            </form>
	            <script type="text/javascript">
	                function CheckForm()
	                {
	                    _$('trmform').submit();
	                }
	            </script>
	            <br />
	        </div>
	    </div>
	    
	    <%csharp%> } <%/csharp%>
	</div>
</div>
</div>
</div>		
	
</div>

<%template _footer%>